package bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;

@Entity(name = "t_report_def")
@Table(name ="t_report_def", schema = "mt")
@IdClass(value = ReportDefPK.class)
public class ReportDef {
	private int id;
	private String description;
	private String definition_json;
	private String report_template;
	
	@Id
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	
	@Column(name = "description")
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	
	@Column(name = "definition_json")
	public String getDefinition_json() {
		return definition_json;
	}
	public void setDefinition_json(String definition_json) {
		this.definition_json = definition_json;
	}
	
	@Column(name = "report_template")
	public String getReport_template() {
		return report_template;
	}
	public void setReport_template(String report_template) {
		this.report_template = report_template;
	}

}
